#include "client.hpp"
#include <memory>

int main(int argc, char* argv[])
{
    if (argc != 3)
    {
        std::cout << "Usage:\n\t" << argv[0] << " serverip serverport\n"
                  << std::endl;
        exit(1);
    }

    unique_ptr<UdpClient> ptr = make_unique<UdpClient>(argv[1], stoi(argv[2])); 
    ptr->Init();   
    ptr->Start();
    // ptr->init_start();

    return 0;
}